package com.tnovoselec.android.common.util;

import android.app.Activity;


public class ScreenUtil {

    private ScreenUtil() {
	super();
    }

    /**
     * This method returns the screen's width
     * 
     * @param activity
     * @return screen width in int format
     */
    public static int getScreenWidth(Activity activity) {
	return activity.getWindowManager().getDefaultDisplay().getWidth();
    }
}
